/**
 * 
 */
package org.cuatrovientos.exceptions;

import java.util.Scanner;

/**
 * this class may fail
 * @author david_madurga
 *
 */
public class Fail {

	private static final String ARE_YOU_FUCKING_ME_BITCH = "Are you fucking me, bitch??? ";

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		String line="";
		int number=0;
		
		System.out.println("Enter a number");
		line=reader.nextLine();
		try {
		number= Integer.parseInt(line.replaceAll(" ", ""));
		
		System.out.println("Youe enterred: " + number);
		}
		catch (NumberFormatException nfe){
			System.out.println(ARE_YOU_FUCKING_ME_BITCH + nfe.getMessage());
		}
		catch (Exception ex){
			System.out.println(ARE_YOU_FUCKING_ME_BITCH + ex.getMessage());
		}
		finally{
			reader.close();
		}
		
				
	}

}
